package com.mumu.quratz.job;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import java.util.Date;

/**
 * @author mumu
 * @version 1.0
 * @date 2023/12/13 10:57
 * @describe
 */
public class MyJob implements Job {
    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
        // 在这里定义定时任务的执行逻辑
        System.out.println("定时任务执行时间：" + new Date());
    }
}
